package raft

import (
	`log`
)

const IsDebugMode = false
//const IsTimerMode = false
const IsOnly = false

func DPrintf(format string, a ...interface{}) (n int, err error) {
	if IsDebugMode {
		log.Printf(format, a...)
	}
	return
}


func FPrintf(format string, a ...interface{}) (n int, err error) {
	if IsOnly {
		log.Printf(format, a...)
	}
	return
}
